Skip to content

fix: improve client validity checks#27

Merged
oylsister merged 3 commits intooylsister:mainfrom
Dolly132:main-dolly
Nov 7, 2025
Merged

fix: improve client validity checks#27
oylsister merged 3 commits intooylsister:mainfrom
Dolly132:main-dolly

Conversation

@Dolly132
Copy link
Copy Markdown
Contributor

@Dolly132 Dolly132 commented Nov 4, 2025

  • Gets rid of the IsValidClient function usage and instead uses the needed checks for each case in the plugin
  • Minor fixes regarding menu's callback's first param client validity check

- Gets rid of the `IsValidClient` function usage and instead uses the needed checks for each case in the plugin
- Minor fixes regarding menu's callback's first param client validity check
@Rushaway
Copy link
Copy Markdown
Contributor

Rushaway commented Nov 4, 2025

These changes was tested ? utilshelper still needed to be include?
@Dolly132

@Dolly132
Copy link
Copy Markdown
Contributor Author

Dolly132 commented Nov 5, 2025

These changes was tested ? utilshelper still needed to be include? @Dolly132

I didn't check if the plugin used any funciton other than IsValidClient from utilshelper, I'll double check and see if it should be included or not

@Dolly132
Copy link
Copy Markdown
Contributor Author

Dolly132 commented Nov 5, 2025

The plugin still uses GetEdictsCount() from utilshelper.inc

@oylsister
Copy link
Copy Markdown
Owner

@Dolly132 build failed

@Dolly132
Copy link
Copy Markdown
Contributor Author

Dolly132 commented Nov 7, 2025

@Dolly132 build failed

Should be good now

@oylsister oylsister merged commit 92f0262 into oylsister:main Nov 7, 2025
3 checks passed
@Rushaway
Copy link
Copy Markdown
Contributor

Rushaway commented Nov 8, 2025

It was merged without any tests.. Will make some tests and make a new PR if fixes are needed..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants